package com.example.boot1.annotationUse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BaseController {

    // 访问链接 http://localhost:8083/batchaAdd?name=cfl&password=123456
    // 多了一个a  batchaAdd batchAdd
    @RequestMapping("/404.do")
    public Object error_404(){
        return "你请求的方法或者页面不见了！";
    }
}
